package com.gamefx.engine1.vo
{

	/**
	 * 动作
	 *
	 * @author hzf
	 */
	public class VAction
	{
		/**
		 * 位于哈希表中的关键字
		 */
		public var key:String;

		/**
		 * 该组动画总帧数
		 */
		public var frames:int;

		/**
		 * 播放一帧所需要的毫秒数
		 */
		public var mspf:uint;

		/**
		 * 是否循环
		 */
		public var loop:Boolean = true;
		
		
		public function VAction(key:String, totalFrames:int, mspf:uint, loop:Boolean = true)
		{
			this.key = key;
			this.frames = totalFrames;
			this.mspf = mspf;
			this.loop = loop;
		}
	}
}